package edu.pe.cayetano.decorator;

import org.apache.taglibs.display.ColumnDecorator;

@SuppressWarnings("deprecation")
public class EditarLinkDecorator extends ColumnDecorator {

	public String decorate(Object obj) {

		String codigo=null;
		String cadena=null;
		try{
			codigo =  obj.toString();
			cadena="<center><a href=\"javascript:editar("+codigo+")\" class=\"texto_gris\"><IMG src=\"/SECCD/images/images3.jpg\" border=\"0\" width=\"12\" height=\"12\" alt=\"Editar\"></a></center>";
		}
		catch(Exception e){
		}
		
		return 	cadena;
		
	}
}
